package com.yugao.fintech.draper.core.config;

import com.yugao.fintech.draper.core.exception.BaseExceptionHandler;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class ExceptionAutoConfiguration {
	@Bean
	BaseExceptionHandler exceptionHandler() {
		return new BaseExceptionHandler();
	}

}
